package com.vlyman.weixin.entity;

import lombok.*;

import java.io.Serializable;
import java.util.Map;

/**
 * 类描述：
 * 	模板消息类
 * @author chenjs
 * @date: 2016年8月4日
 */
@Data
public class MessageSendVo implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -38449561847605308L;
	private String touser;
	protected String template_id;
	protected MessageMiniProgramVo miniprogram;
	private String url;
	protected Map<String, MessageDataVo> data;

	public MessageSendVo() {
	}

	public MessageSendVo(String toUser, String templateId, String url){
		this.touser=toUser;
		this.template_id = templateId;
		this.url=url;
	}

	public MessageSendVo(String touser, String template_id, MessageMiniProgramVo miniprogram, String url) {
		this.touser = touser;
		this.template_id = template_id;
		this.miniprogram = miniprogram;
		this.url = url;
	}
}
